export const historyPremiumVerify = {
  methods: {
    // 处理历史升贴水对比返回的信息
    dealHistoryPremiumVerifyMsg(data) {
      let h = this.$createElement;
      let childEl = [];
      data.forEach(item => {
        childEl.push(
          h(
            "div",
            {
              style: {
                marginBottom: "2px"
              }
            },
            item
          )
        );
      });
      let parentEl = h(
        "div",
        {
          style: {
            maxHeight: "500px",
            overflow: "auto"
          }
        },
        childEl
      );
      return parentEl;
    }
  }
};
